<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="jQuery-easyui/css/default.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="jQuery-easyui/js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="jQuery-easyui/js/themes/icon.css" />
    <script type="text/javascript" src="jQuery-easyui/js/jquery.min.js"></script>
    <script type="text/javascript" src="jQuery-easyui/js/jquery.easyui.min.js"></script>
</head>
<body>
<table id="dg" ></table>
</body>
<script type="text/javascript">
$('#dg').datagrid({
   // url:'datagrid_data.json',
    columns:[[
		{field:'code',title:'Code',width:100},
		{field:'name',title:'Name',width:100},
		{field:'price',title:'Price',width:100,align:'right'}
    ]],
    data: [
		{code:'value11', name:'name'},
		{code:'code-2', name:'name'}
	]
});
</script>
</html>